%%
%
A=1;
T1=10;
T2=3;
t=0:1:50;
k=9;
l=5;
M=16;
v=V4_signal(A,T1,T2,t);
plot(t,v)
grid on;
xlabel('Time');
ylabel('Voltage');
pause
s=V4_trapec(k,l,M,v);
plot(t,s/100)
grid on;
xlabel('Time');
ylabel('Voltage');
pause
plot(t,v,t,s/100)
grid on;
xlabel('Time');
ylabel('Voltage');